package com.xueyi.system.application.service.impl;

import com.xueyi.system.application.domain.query.BaseQualityApplicationQuery;
import com.xueyi.system.application.domain.dto.BaseQualityApplicationDto;
import com.xueyi.system.application.service.IBaseQualityApplicationService;
import com.xueyi.system.application.manager.IBaseQualityApplicationManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 检验申请管理 服务层处理
 *
 * @author xueyi
 */
@Service
public class BaseQualityApplicationServiceImpl extends BaseServiceImpl<BaseQualityApplicationQuery, BaseQualityApplicationDto, IBaseQualityApplicationManager> implements IBaseQualityApplicationService {

    /**
     * 查询检验申请对象列表 | 数据权限 | 附加数据
     *
     * @param baseQualityApplication 检验申请对象
     * @return 检验申请对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"BaseQualityApplicationMapper"})
    public List<BaseQualityApplicationDto> selectListScope(BaseQualityApplicationQuery baseQualityApplication) {
        return baseManager.selectListExtra(baseQualityApplication);
    }

}